package com.fmc123.shop.entity ;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fmc123.base.pesistence.BaseEntity;
/**
 * 
 * @desc    seller
 * @date    2015/11/14
 */
@Entity
@Table(name = "seller" )
public class Seller extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Column(name = "ACCOUNT" ,length = 255 ,nullable = false)  
    private String account ;
    
    @Column(name = "USERNAME" ,length = 50 ,nullable = false)  
    private String username ;
    
    @Column(name = "PASSWORD" ,length = 255 ,nullable = false)  
    private String password ;
    
    @Column(name = "EMAIL" ,length = 100)  
    private String email ;
    
    @Column(name = "PHONE" ,length = 20)  
    private String phone ;
    
    @Column(name = "STATE" ,length = 11)  
    private Long state ;
    
    @Column(name = "LEVEL" ,length = 11)  
    private Long level ;
    @javax.persistence.Temporal(javax.persistence.TemporalType.TIMESTAMP)
    @Column(name = "CREATE_DATE" ,nullable = false)  
    private java.util.Date createDate ;
    @javax.persistence.Temporal(javax.persistence.TemporalType.TIMESTAMP)
    @Column(name = "LOGIN_DATE")  
    private java.util.Date loginDate ;
    
    @Column(name = "LOGIN_IP" ,length = 100)  
    private String loginIp ;
    public void setAccount (String account){
        this.account = account ;
    }
    public String getAccount (){
        return this.account ;
    }
     
    public void setUsername (String username){
        this.username = username ;
    }
    public String getUsername (){
        return this.username ;
    }
     
    public void setPassword (String password){
        this.password = password ;
    }
    public String getPassword (){
        return this.password ;
    }
     
    public void setEmail (String email){
        this.email = email ;
    }
    public String getEmail (){
        return this.email ;
    }
     
    public void setPhone (String phone){
        this.phone = phone ;
    }
    public String getPhone (){
        return this.phone ;
    }
     
    public void setState (Long state){
        this.state = state ;
    }
    public Long getState (){
        return this.state ;
    }
     
    public void setLevel (Long level){
        this.level = level ;
    }
    public Long getLevel (){
        return this.level ;
    }
     
    public void setCreateDate (java.util.Date createDate){
        this.createDate = createDate ;
    }
    public java.util.Date getCreateDate (){
        return this.createDate ;
    }
     
    public void setLoginDate (java.util.Date loginDate){
        this.loginDate = loginDate ;
    }
    public java.util.Date getLoginDate (){
        return this.loginDate ;
    }
     
    public void setLoginIp (String loginIp){
        this.loginIp = loginIp ;
    }
    public String getLoginIp (){
        return this.loginIp ;
    }
     
}